package model.xpdl2{
	
	public class NodeGraphicsInfo{
		
		private var _height:Number;
		
		private var _width:Number;
		
		private var coor:Coordinates;
		
		public function NodeGraphicsInfo(){
			
			_height=50.0;
			
			_width=100.0;
			
			coor=new Coordinates();
			
		}
		
		public function genXML():String{
		
			var xml:String;
			var nspre:String="xpdl2";
			
			xml="<"+nspre+":NodeGraphicsInfo Height=\""+_height+"\" Width=\""+_width+">";
			
			
			
			xml+="</"+nspre+":NodeGraphicsInfo\n>";
			
			return xml;
		
		}
		
		public function set height(height:Number):void{
		
			this._height=height;
		
		}
		
		public function get height():Number{
		
			return _height;
		
		}
		
		public function set width(width:Number):void{
		
			this._width=width;
		
		}
		
		public function get width():Number{
		
			return _width;
		
		}
		
		public function setCoordinates(coor:Coordinates){
		
			this.coor=coor;
		
		}
		
		public function getCoordinates():Coordinates{
			
			return coor;
			
		}

	}
}